home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 80 / XENIATGM80.iso / Goodies / Blood 2 / Source / data.z / MenuBloodBath.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-02  |  948 b   |  36 lines

  1. // MenuBloodBath.h: interface for the CMenuBloodBath class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_MENUBLOODBATH_H__D7668B34_57D4_11D2_BDA0_0060971BDC6D__INCLUDED_)
  6. #define AFX_MENUBLOODBATH_H__D7668B34_57D4_11D2_BDA0_0060971BDC6D__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. #include "MenuBase.h"
  13.  
  14. class CMenuBloodBath : public CMenuBase  
  15. {
  16. public:
  17.     CMenuBloodBath();
  18.     virtual ~CMenuBloodBath();
  19.  
  20.     // Build the menu
  21.     void    Build();
  22.  
  23. protected:
  24.     // Verifies that we are in atleast 640x480 and pops up a confirmation dialog otherwise
  25.     // to switch to 640x480
  26.     void    DoResolutionVerify();
  27.  
  28.     // Switches video resolutions to 640x480
  29.     DBOOL    SwitchTo640x480();
  30.  
  31. protected:
  32.     DDWORD    OnCommand(DDWORD dwCommand, DDWORD dwParam1, DDWORD dwParam2);
  33. };
  34.  
  35. #endif // !defined(AFX_MENUBLOODBATH_H__D7668B34_57D4_11D2_BDA0_0060971BDC6D__INCLUDED_)
  36.